(function (angular) {
    'use strict';
    var httpModule = angular.module('fs.http');
    httpModule.constant("HttpConstants", {
        GET_HOLIDAYD_URL: 'do/cda/calendar/holidays',
        DOWNLOAD_TEMPDOC_URL: 'do/cda/file/download',
        DOWNLOAD_DOC_URL: 'do/cda/file/download',
        CSRF_TOKEN: undefined,
        TRANSACTION_TOKEN: undefined,
        DEF_XHRHEADERNAME: 'X-Requested-With',
        DEF_XHRHEADERVALUE: 'XMLHttpRequest',
        ERROR_CODE_SESSION_TIMEOUT: '302',
        ERROR_CODE_UNAUTHORIZED: '401',
        ERROR_CODE_PAGE_NOT_FOUNT: '404',
        ERROR_CODE_SYSTEM_ERROR: '500',
        ERROR_CODE_CUSTOMER_ERROR: '501',
        NOTIFY_REDIRECT: '302',
        NOTIFY_UNAUTHORIZED: '401',
        NOTIFY_PAGE_NOT_FOUNT: '404',
        NOTIFY_CUSTOMER_ERROR: '501',
        NOTIFY_SYSTEM_ERROR: '500',
        //HTTP_REQUEST_URL_REGEXP: /do\/.+$/,
        HTTP_ERROR_STATUS: {
            '401': '401',
            '404': '404',
            '-1': '404',
            '500': '500',
            '501': '501'
        }
    });
})(angular);